import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/home/Home.vue'
import Register from '../common/Register/register.vue'
import Login from '../common/login/Login.vue'
import Chapter from '../pages/chapter/Chapter.vue'
import Content from '../pages/chaptercontent/Chaptercontent.vue'
import RegisterPhone from '../common/Register/Register-phone.vue'
import Xieyi from '../common/xieyi/dypf.vue'
import SurePhone from '../common/passwordback/Surephone.vue'
import ResetPassword from '../common/passwordback/Resetpassword.vue'
import ReLogin from '../common/passwordback/Relogin.vue'
import BookType from '../pages/booktype/Booktype.vue'
import AllBookType from '../pages/booktype/Allbooktype.vue'
import HotChapter from '../pages/hot/Hotchapter.vue'
import ChapterContent from '../pages/hot/ChapterContent.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },{
		path: '/register',
		name: 'Register',
		component: Register
	},{
		path: '/registerphone',
		name: 'RegisterPhone',
		component: RegisterPhone
	},{
		path: '/surephone',
		name: 'SurePhone',
		component: SurePhone
	},{
		path: '/resetpassword',
		name: 'ResetPassword',
		component: ResetPassword
	},{
		path: '/relogin',
		name: 'ReLogin',
		component: ReLogin
	},{
		path: '/login',
		name: 'Login',
		component: Login
	},{
		path: '/chapter',
		name: 'Chapter',
		component: Chapter
	},{
		path: '/content',
		name: 'Content',
		component: Content
	},{
		path: '/xieyi',
		name: 'Xieyi',
		component: Xieyi
	},{
		path: '/booktype',
		name: 'BookType',
		component: BookType
	},{
		path: '/allbooktype',
		name: 'AllBookType',
		component: AllBookType
	},{
		path: '/hotchapter',
		name: 'HotChapter',
		component: HotChapter
	},{
		path: '/chaptercontent',
		name: 'ChapterContent',
		component: ChapterContent
	}
  ]
})
